third-party-exp-api
Gate To Pay - Cash In
Description: This API is used to make cash deposit atm transaction.
Mulesoft Request:
Headers:
Mandatory Headers: x-correlation-id, client_id, Authorization
Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, client_secret, x-channel-id, x-bank-id
Paramaters:
URI Params: NA
Query Params: NA
Body:
{
"creditAccountNumber": "",
"branchCode": "",
"mobileNumber": "",
"otp": "",
"transactionSource": "", //optional - default is 2
"amount": "",
"fees": "",
"messageTransactionId": "",
"atmId": "",
"atmName": "",
"atmLocation": ""
}
Content-type: application/json, text/json
Mulesoft Response:
Success Response: (201)
{
"status": {
"success": true,
"code": "201",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"ftReference": "",
"gateToPayReference": ""
}
}
Error Response: (400, 403, 404, 405, 406, 415, 500, 501)
{
"status": {
"success": false,
"code": "400",
"reasonCode": "BadRequest",
"arabicMessage": "لا يمكن اتمام العملية - Øركة غير موجوده",
"englishMessage": "Transaction Not Exist",
"backendError": "Transaction Not Exist",
"backendCode": "39"
}
}